﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Data;
using ConfExpert.Utility.Data;

public partial class test : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {
        if (!Page.IsPostBack)
        { 
            string cnnStrCe = System.Configuration.ConfigurationManager.ConnectionStrings["ce"].ConnectionString;
    DataManager dataManager = new DataManager(cnnStrCe);

        Karbel.ConfExpertGrid g = new Karbel.ConfExpertGrid();
        DataSet ds = dataManager.ExecuteDataset("web2GetStok", Sessions.CurrentMember.CustomerId, "K", ""); 
        g.DataSource = ds.Tables[0];
        string a = g.Generate();
        Literal1.Text = g.Generate();
        }
    }
}